<?php

namespace AdminBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TaskJobSchedules
 *
 * @ORM\Table(name="task_job_schedules")
 * @ORM\Entity(repositoryClass="AdminBundle\Repository\TaskJobSchedulesRepository")
 */
class TaskJobSchedules
{
    /**
     * @var integer
     *
     * @ORM\Column(name="job_id", type="integer", nullable=false)
     */
    private $jobId;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="next_run_date", type="date", nullable=false)
     */
    private $nextRunDate = '0000-00-00';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="next_run_time", type="time", nullable=false)
     */
    private $nextRunTime = '00:00:00';

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;



    /**
     * Set jobId
     *
     * @param integer $jobId
     *
     * @return TaskJobSchedules
     */
    public function setJobId($jobId)
    {
        $this->jobId = $jobId;

        return $this;
    }

    /**
     * Get jobId
     *
     * @return integer
     */
    public function getJobId()
    {
        return $this->jobId;
    }

    /**
     * Set nextRunDate
     *
     * @param \DateTime $nextRunDate
     *
     * @return TaskJobSchedules
     */
    public function setNextRunDate($nextRunDate)
    {
        $this->nextRunDate = $nextRunDate;

        return $this;
    }

    /**
     * Get nextRunDate
     *
     * @return \DateTime
     */
    public function getNextRunDate()
    {
        return $this->nextRunDate;
    }

    /**
     * Set nextRunTime
     *
     * @param \DateTime $nextRunTime
     *
     * @return TaskJobSchedules
     */
    public function setNextRunTime($nextRunTime)
    {
        $this->nextRunTime = $nextRunTime;

        return $this;
    }

    /**
     * Get nextRunTime
     *
     * @return \DateTime
     */
    public function getNextRunTime()
    {
        return $this->nextRunTime;
    }

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
}
